package com.wl.wuliu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 财务信息表
 * @Author: gutaozhen
 * @Date: 2024/11/15
 */
@Data
public class Finance extends BaseEntity {

    /** 运输车Id */
    private String truckId;

    /** 亏吨价格 */
    private BigDecimal lossPrice;

    /** 扣除金额 */
    private BigDecimal lossAmount;

    /** 价格 */
    private BigDecimal price;

    /** 给车 */
    private BigDecimal giveCar;

    /** 信息费 */
    private BigDecimal infoAmount;

    /** 垫款金额 */
    private BigDecimal advance;

    /** 结款金额 */
    private BigDecimal payment;

    /** 结款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date paymentTime;

    /** 回款金额 */
    private BigDecimal replyAmount;

    /** 利润 */
    private BigDecimal profit;



}
